<script type="text/html" template>
    <link rel="stylesheet" href="{{ layui.setter.base }}style/extend/jquery-ui-1.9.2.custom.css?v={{ layui.setter.version }}" media="all"/>
    <link rel="stylesheet" href="{{ layui.setter.base }}style/extend/jquery.autocompleter.css?v={{ layui.setter.version }}" media="all"/>
    <link rel="stylesheet" href="{{ layui.setter.base }}style/declare.css?v={{ layui.setter.version }}" media="all"/>
</script>
<div class="child-box">
    <div class="layui-card layadmin-header">
        <div class="layui-breadcrumb" lay-filter="breadcrumb">
            <a href="javascript:" lay-href=""><i class="iconfont iconhome"></i>首页</a>
            <a><cite>外汇管理</cite></a>
            <a><cite>转账记录</cite></a>

            <div class="layui-card-header-left" title="刷新" zmark-event="layui.manage.render">
                <i class="layui-icon layui-icon-refresh layui-anim" zmark-anim="layui-anim-rotate"></i>
            </div>
        </div>
    </div>
    <div class="layui-card mt20">
        <div class="layui-card-body table-box">
            <form class="layui-form" method="post" id="form-payment-list" onsubmit="return false" lay-filter="form-payment-list">
                <input type="hidden" name="status"/>
                <div class="layui-row block pb10">
                    <ul class="extra-l fl" id="queryStatus">
                        <li><a href="javascript:" class="curr" status="">全部</a></li>
                        <li><a href="javascript:" status="01">转账中</a></li>
                        <li><a href="javascript:" status="02">转账成功</a></li>
                        <li><a href="javascript:" status="03">转账失败</a></li>
                        <li>
                            <div class="layui-row">
                                <div class="layui-col-md12" style="padding-right: 10px;">
                                    <input type="text" name="busId" class="layui-input" placeholder="转账流水号"/>
                                </div>
                            </div>
                        </li>
                        <li>
                            <!--提交日期-->
                            <div class="layui-row">
                                <label class="layui-form-label">提交日期</label>
                                <div class="layui-col-md4">
                                    <input type="text" name="dateCreatedStart" id="dateCreatedStart" class="layui-input picker-date start-input" placeholder="开始日期" clear-val/>
                                </div>
                                <div class="layui-col-md4">
                                    <input type="text" name="dateCreatedEnd" id="dateCreatedEnd" class="layui-input picker-date end-input" placeholder="结束日期" clear-val/>
                                </div>
                            </div>
                        </li>
                        <li>
                            <button type="submit" class="layui-btn" lay-submit="" lay-filter="search-payment-list"><i class="layui-icon layui-icon-search"></i></button>
                        </li>
                    </ul>
                </div>
                <div class="layui-row mt10">
                    <table class="zm-tab payment-tab" id="tab-payment-list">
                        <colgroup>
                            <col width="140">
                            <col width="150">
                            <col width="150">
                            <col width="100">
                            <col width="120">
                        </colgroup>
                        <thead>
                        <tr>
                            <th>业务编号</th>
                            <th>交易币种</th>
                            <th>交易金额</th>
                            <th>状态</th>
                            <th>提交日期</th>
                        </tr>
                        </thead>
                    </table>
                    <div class="blank-list">
                        <i class="iconfont iconwushuju"></i>
                        <dd>无转账数据</dd>
                    </div>
                    <div class="zm-pagination">
                        <div id="payment-list-pagination"></div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script type="text/html" id="tpl-payment-list">
    {{# layui.each(d,function(i,o){ }}
    <tbody>
    <tr class="tr-tb">
        <td>
            <span class="mr30"><a href="javascript:" onclick="layui.ratePaymentList.show('{{o.id}}')" title="{{o.busId}}" class="copy">{{o.busId}}</a></span>
        </td>
        <td>
            <div class="layui-row">
                {{layui.com.removeNull(o.txnCurDesc)}}
            </div>
        </td>
        <td>
            <div class="layui-row">{{layui.com.removeNull(o.txnAmt)}}</div>
        </td>
        <td>
            {{# if(o.status == '01'){ }}
            <div class="layui-row sent">{{layui.com.removeNull(o.statusDesc)}}</div>
            {{# } }}
            {{# if(o.status == '02'){ }}
            <div class="layui-row complete">{{layui.com.removeNull(o.statusDesc)}}</div>
            {{# } }}
            {{# if(o.status == '03'){ }}
            <div class="layui-row importFail">{{layui.com.removeNull(o.statusDesc)}}</div>
            {{# } }}
        </td>
        <td>
            <div class="layui-row">{{layui.com.removeNull(o.dateCreated)}}</div>
        </td>
    </tr>
    </tbody>
    {{# }); }}
</script>
<script>
    layui.use('ratePaymentList', layui.factory('ratePaymentList'));
</script>
<style type="text/css">
    .zm-tab tbody td {
        border-left: none;
        border-right: none;
    }
</style>